<template>
  <div class="content">
    <div class="html" v-html="content"></div>
    <div class="buttons" @click="router.go(-1)">了 解</div>
  </div>
</template>

<script>
import { defineComponent } from "vue";
import { useRouter } from "vue-router";
import {} from "@/api/https.js";
export default defineComponent({
  setup() {
    const router = useRouter();
    const content = JSON.parse(localStorage.getItem("publicInfo")).shuoming;

    return {
      router,
      content,
    };
  },
});
</script>

<style lang="less" scoped>
.content {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 40px;

  .html {
    padding: 20px 40px;
    max-height: 900px;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  .buttons {
    text-align: center;
    font-size: var(--txtSize);
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    background-color: #554de5;
    width: 150px;
    height: 45px;
    line-height: 45px;
    margin: 20px auto 0;
    border-radius: 25px;
  }
}
</style>
